package icu.qx.pro.feign;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import icu.qx.pro.domain.pbs.PbsProuteProcedure;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
@FeignClient(name = "yyj-mes-pbs", contextId = "pro-pbs")
public interface PbsProuteProcedureFeign {
    /**
     * 查询工艺路线工序列表
     */
    @RequiresPermissions("pbs:procedure:list")
    @GetMapping("/pbs/pProcecureRoute/list")
    public AjaxResult noGoodList(@RequestParam("ppProuteCode") String ppProuteCode);
}
